<?php
// Setup autoloading
require 'public/define.php';
require 'public/init_autoloader.php';

$structure = APPLICATION_PATH.'/data/cache/cache_data';
if (!is_dir($structure))
	mkdir($structure, 0777, true);

$timthumb = APPLICATION_PATH.'/timthumb';
if (!is_dir($timthumb))
	mkdir($timthumb, 0777, true);
// Run the application!
Zend\Mvc\Application::init(require 'config/application.config.php')->run();
